from flask_restful import Resource


# 定义复数类资源
class UsersResource(Resource):

    def get(self):
        return {"msg": "user list"}


# 单数类 资源
class UserResource(Resource):

    def get(self, id):
        return {"msg": "user-%d ok" % id}
